<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>店铺认证</title>
		<link rel="stylesheet" href="font/font-awesome-4.7.0/css/font-awesome.min.css" />
		<link rel="stylesheet" href="css/sureShop.css" />
	</head>
	<body>
		<div class="web">
		<header>	
			<nav class="clearfix">
				<div class="arrow-left">
					<a href="shopManage.html"><i class="fa fa-angle-left"></i></a>
				</div>
				<div class="help">
					<a href="">认证帮助</a>
				</div>
				<h3 class="title">店铺认证</h3>
			</nav>
		</header>
		<section>
			<p class="tip">填写个人经营资料</p>
			<div class="paper-type">
				<div class="inner">
					<span>证件类型</span>
					<i class="fa fa-angle-right"></i>
					<span>中国大陆身份证</span>
				</div>
			</div>
			<div class="real-name">
				<div class="inner">
					<span>真实姓名</span>
					<input type="text" placeholder="你证件上的名字"/>
				</div>
			</div>
			<div class="paper-number">
				<div class="inner">
					<span>证件号码</span>
					<input type="text" placeholder="中国大陆的15位或18位身份证号码"/>
				</div>
			</div>
			<div class="code">
				<div class="inner">
					<div class="left">证件号码</div>
					<div class="right">获取验证码</div>
					<div class="input-wrap">
						<input type="text" placeholder="请输入短信验证码"/>	
					</div>				
				</div>
			</div>
			<div class="pay-btn">微信支付1分钱</div>
			<p class="pay-tip">支付1分钱后立刻完成认证</p>
		</section>
		<div class="sale-prompt" >
			<div class="inner">
				<div class="top">
					<p>确认手机号码</p>
					<p>验证码将发送到您的注册手机号:</p>
					<p>+8615013068326</p>
				</div>
				<div class="bottom">
					<span>取消</span>
					<span>确定</span>
					</div>
				</div>
			</div>
		</div>		
		<div class="success-prompt">
			<img src="img/mange_img/manage_02.png" alt="" />
		</div>
		<script src="js/mobileFontSizeReset.js"></script>
		<script>
			var codePrompt = document.querySelector('.sale-prompt');
			var codeBtn = document.querySelector('.code .right');
			var promptBtn_cancel = codePrompt.querySelector('span:first-of-type');
			var promptBtn_sure = codePrompt.querySelector('span:last-of-type');
			var successPrompt = document.querySelector('.success-prompt');
			codeBtn.addEventListener('click', function () {
				codePrompt.style.display = 'block';
			});
			promptBtn_sure.addEventListener('click', function () {
				codePrompt.style.display = 'none';			
				
			});
			promptBtn_cancel.addEventListener('click', function () {
				codePrompt.style.display = 'none';
			});
			
			var payBtn = document.querySelector('.pay-btn');
			payBtn.addEventListener('click', function () {
				successPrompt.style.display = 'block';
				setTimeout(function () {
					successPrompt.style.display = 'none';					
				},1000);
			});
		</script>
	</body>
</html>
